﻿namespace Arms.Application.Modules.Security
{
    using System;
    using System.Collections.Generic;

    [Serializable]
    public class ArmsUserData
    {
        public int UserID { get; set; }
        public int UserClassID { get; set; }
        public string EmailAddress { get; set; }
        public string UserName { get; set; }
        public string FirstName { get; set; }
        public string LastName { get; set; }
        public IEnumerable<ListItemDTO> Roles { get; set; }
        public AppData AppData { get; set; }

        public bool HasIdentity
        {
            get { return this.UserID > 0; }
        }
    }
}
